home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Collection of Tools & Utilities
/
Collection of Tools and Utilities.iso
/
system
/
dabutil2.zip
/
Z.BAT
< prev
Wrap
DOS Batch File
|
1991-01-12
|
534b
|
33 lines
@echo off
echo off
dow
if errorlevel 6 goto saturday
if errorlevel 5 goto friday
if errorlevel 4 goto thursday
if errorlevel 3 goto wednesday
if errorlevel 2 goto tuesday
if errorlevel 1 goto monday
if errorlevel 0 goto sunday
exit 1
:sunday
echo Today is Sunday
exit 0
:monday
echo Today is Monday
exit 0
:tuesday
echo Today is Tuesday
exit 0
:wednesday
echo Today is Wednesday
exit 0
:thursday
echo Today is Thursday
exit 0
:friday
echo Today is Friday
exit 0
:saturday
echo Today is Saturday
exit 0